package com.jaws.core.common.util;

import lombok.Data;

import java.util.UUID;

/**
 * UUID
 *
 * @author liangqm
 * @date 2018-05-14 11:42:17
 * @since v1.0.2
 */
@Data
public class UUIDTool {

	/**
	 * 自动生成32位的UUID
	 *
	 * @return
	 * @author liangqm
	 * @date 2018/5/14 11:42
	 * @params
	 * @since v1.0.0
	 */
	public static String getUUID() {
		return UUID.randomUUID().toString().replace("-", "");
	}


	public static void main(String[] args) {
//      String[] ss = getUUID(10);  
		for (int i = 0; i < 10; i++) {
			System.out.println("ss[" + i + "]=====" + getUUID());
		}
	}
}  